package cn.iocoder.yudao.module.reading.controller.app.community.vo.post;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 社区帖子分页查询 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 社区帖子分页查询 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class PostPageReqVO extends PageParam {

    @Schema(description = "帖子类型", example = "normal")
    private String type;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "关键词搜索", example = "绘本")
    private String keyword;

    @Schema(description = "是否只显示热门", example = "false")
    private Boolean onlyHot;

    @Schema(description = "是否只显示置顶", example = "false")
    private Boolean onlyTop;

}
